package com.wanho.java159.cb.po;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CarInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CarInfoExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andVinIsNull() {
            addCriterion("VIN is null");
            return (Criteria) this;
        }

        public Criteria andVinIsNotNull() {
            addCriterion("VIN is not null");
            return (Criteria) this;
        }

        public Criteria andVinEqualTo(String value) {
            addCriterion("VIN =", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotEqualTo(String value) {
            addCriterion("VIN <>", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThan(String value) {
            addCriterion("VIN >", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinGreaterThanOrEqualTo(String value) {
            addCriterion("VIN >=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThan(String value) {
            addCriterion("VIN <", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLessThanOrEqualTo(String value) {
            addCriterion("VIN <=", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinLike(String value) {
            addCriterion("VIN like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotLike(String value) {
            addCriterion("VIN not like", value, "vin");
            return (Criteria) this;
        }

        public Criteria andVinIn(List<String> values) {
            addCriterion("VIN in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotIn(List<String> values) {
            addCriterion("VIN not in", values, "vin");
            return (Criteria) this;
        }

        public Criteria andVinBetween(String value1, String value2) {
            addCriterion("VIN between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andVinNotBetween(String value1, String value2) {
            addCriterion("VIN not between", value1, value2, "vin");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNull() {
            addCriterion("car_no is null");
            return (Criteria) this;
        }

        public Criteria andCarNoIsNotNull() {
            addCriterion("car_no is not null");
            return (Criteria) this;
        }

        public Criteria andCarNoEqualTo(String value) {
            addCriterion("car_no =", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotEqualTo(String value) {
            addCriterion("car_no <>", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThan(String value) {
            addCriterion("car_no >", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoGreaterThanOrEqualTo(String value) {
            addCriterion("car_no >=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThan(String value) {
            addCriterion("car_no <", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLessThanOrEqualTo(String value) {
            addCriterion("car_no <=", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoLike(String value) {
            addCriterion("car_no like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotLike(String value) {
            addCriterion("car_no not like", value, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoIn(List<String> values) {
            addCriterion("car_no in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotIn(List<String> values) {
            addCriterion("car_no not in", values, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoBetween(String value1, String value2) {
            addCriterion("car_no between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarNoNotBetween(String value1, String value2) {
            addCriterion("car_no not between", value1, value2, "carNo");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNull() {
            addCriterion("car_type is null");
            return (Criteria) this;
        }

        public Criteria andCarTypeIsNotNull() {
            addCriterion("car_type is not null");
            return (Criteria) this;
        }

        public Criteria andCarTypeEqualTo(String value) {
            addCriterion("car_type =", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotEqualTo(String value) {
            addCriterion("car_type <>", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThan(String value) {
            addCriterion("car_type >", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeGreaterThanOrEqualTo(String value) {
            addCriterion("car_type >=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThan(String value) {
            addCriterion("car_type <", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLessThanOrEqualTo(String value) {
            addCriterion("car_type <=", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeLike(String value) {
            addCriterion("car_type like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotLike(String value) {
            addCriterion("car_type not like", value, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeIn(List<String> values) {
            addCriterion("car_type in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotIn(List<String> values) {
            addCriterion("car_type not in", values, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeBetween(String value1, String value2) {
            addCriterion("car_type between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarTypeNotBetween(String value1, String value2) {
            addCriterion("car_type not between", value1, value2, "carType");
            return (Criteria) this;
        }

        public Criteria andCarMasterIsNull() {
            addCriterion("car_master is null");
            return (Criteria) this;
        }

        public Criteria andCarMasterIsNotNull() {
            addCriterion("car_master is not null");
            return (Criteria) this;
        }

        public Criteria andCarMasterEqualTo(String value) {
            addCriterion("car_master =", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterNotEqualTo(String value) {
            addCriterion("car_master <>", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterGreaterThan(String value) {
            addCriterion("car_master >", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterGreaterThanOrEqualTo(String value) {
            addCriterion("car_master >=", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterLessThan(String value) {
            addCriterion("car_master <", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterLessThanOrEqualTo(String value) {
            addCriterion("car_master <=", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterLike(String value) {
            addCriterion("car_master like", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterNotLike(String value) {
            addCriterion("car_master not like", value, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterIn(List<String> values) {
            addCriterion("car_master in", values, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterNotIn(List<String> values) {
            addCriterion("car_master not in", values, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterBetween(String value1, String value2) {
            addCriterion("car_master between", value1, value2, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarMasterNotBetween(String value1, String value2) {
            addCriterion("car_master not between", value1, value2, "carMaster");
            return (Criteria) this;
        }

        public Criteria andCarPicIsNull() {
            addCriterion("car_pic is null");
            return (Criteria) this;
        }

        public Criteria andCarPicIsNotNull() {
            addCriterion("car_pic is not null");
            return (Criteria) this;
        }

        public Criteria andCarPicEqualTo(String value) {
            addCriterion("car_pic =", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicNotEqualTo(String value) {
            addCriterion("car_pic <>", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicGreaterThan(String value) {
            addCriterion("car_pic >", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicGreaterThanOrEqualTo(String value) {
            addCriterion("car_pic >=", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicLessThan(String value) {
            addCriterion("car_pic <", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicLessThanOrEqualTo(String value) {
            addCriterion("car_pic <=", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicLike(String value) {
            addCriterion("car_pic like", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicNotLike(String value) {
            addCriterion("car_pic not like", value, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicIn(List<String> values) {
            addCriterion("car_pic in", values, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicNotIn(List<String> values) {
            addCriterion("car_pic not in", values, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicBetween(String value1, String value2) {
            addCriterion("car_pic between", value1, value2, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarPicNotBetween(String value1, String value2) {
            addCriterion("car_pic not between", value1, value2, "carPic");
            return (Criteria) this;
        }

        public Criteria andCarMilageIsNull() {
            addCriterion("car_milage is null");
            return (Criteria) this;
        }

        public Criteria andCarMilageIsNotNull() {
            addCriterion("car_milage is not null");
            return (Criteria) this;
        }

        public Criteria andCarMilageEqualTo(Integer value) {
            addCriterion("car_milage =", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageNotEqualTo(Integer value) {
            addCriterion("car_milage <>", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageGreaterThan(Integer value) {
            addCriterion("car_milage >", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageGreaterThanOrEqualTo(Integer value) {
            addCriterion("car_milage >=", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageLessThan(Integer value) {
            addCriterion("car_milage <", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageLessThanOrEqualTo(Integer value) {
            addCriterion("car_milage <=", value, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageIn(List<Integer> values) {
            addCriterion("car_milage in", values, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageNotIn(List<Integer> values) {
            addCriterion("car_milage not in", values, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageBetween(Integer value1, Integer value2) {
            addCriterion("car_milage between", value1, value2, "carMilage");
            return (Criteria) this;
        }

        public Criteria andCarMilageNotBetween(Integer value1, Integer value2) {
            addCriterion("car_milage not between", value1, value2, "carMilage");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeIsNull() {
            addCriterion("insurance_start_time is null");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeIsNotNull() {
            addCriterion("insurance_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeEqualTo(Date value) {
            addCriterion("insurance_start_time =", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeNotEqualTo(Date value) {
            addCriterion("insurance_start_time <>", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeGreaterThan(Date value) {
            addCriterion("insurance_start_time >", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("insurance_start_time >=", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeLessThan(Date value) {
            addCriterion("insurance_start_time <", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("insurance_start_time <=", value, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeIn(List<Date> values) {
            addCriterion("insurance_start_time in", values, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeNotIn(List<Date> values) {
            addCriterion("insurance_start_time not in", values, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeBetween(Date value1, Date value2) {
            addCriterion("insurance_start_time between", value1, value2, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("insurance_start_time not between", value1, value2, "insuranceStartTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeIsNull() {
            addCriterion("insurance_end_time is null");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeIsNotNull() {
            addCriterion("insurance_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeEqualTo(Date value) {
            addCriterion("insurance_end_time =", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeNotEqualTo(Date value) {
            addCriterion("insurance_end_time <>", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeGreaterThan(Date value) {
            addCriterion("insurance_end_time >", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("insurance_end_time >=", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeLessThan(Date value) {
            addCriterion("insurance_end_time <", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("insurance_end_time <=", value, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeIn(List<Date> values) {
            addCriterion("insurance_end_time in", values, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeNotIn(List<Date> values) {
            addCriterion("insurance_end_time not in", values, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeBetween(Date value1, Date value2) {
            addCriterion("insurance_end_time between", value1, value2, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("insurance_end_time not between", value1, value2, "insuranceEndTime");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyIsNull() {
            addCriterion("insurance_company is null");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyIsNotNull() {
            addCriterion("insurance_company is not null");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyEqualTo(String value) {
            addCriterion("insurance_company =", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyNotEqualTo(String value) {
            addCriterion("insurance_company <>", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyGreaterThan(String value) {
            addCriterion("insurance_company >", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyGreaterThanOrEqualTo(String value) {
            addCriterion("insurance_company >=", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyLessThan(String value) {
            addCriterion("insurance_company <", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyLessThanOrEqualTo(String value) {
            addCriterion("insurance_company <=", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyLike(String value) {
            addCriterion("insurance_company like", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyNotLike(String value) {
            addCriterion("insurance_company not like", value, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyIn(List<String> values) {
            addCriterion("insurance_company in", values, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyNotIn(List<String> values) {
            addCriterion("insurance_company not in", values, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyBetween(String value1, String value2) {
            addCriterion("insurance_company between", value1, value2, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andInsuranceCompanyNotBetween(String value1, String value2) {
            addCriterion("insurance_company not between", value1, value2, "insuranceCompany");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNull() {
            addCriterion("create_by is null");
            return (Criteria) this;
        }

        public Criteria andCreateByIsNotNull() {
            addCriterion("create_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreateByEqualTo(Long value) {
            addCriterion("create_by =", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotEqualTo(Long value) {
            addCriterion("create_by <>", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThan(Long value) {
            addCriterion("create_by >", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByGreaterThanOrEqualTo(Long value) {
            addCriterion("create_by >=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThan(Long value) {
            addCriterion("create_by <", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByLessThanOrEqualTo(Long value) {
            addCriterion("create_by <=", value, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByIn(List<Long> values) {
            addCriterion("create_by in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotIn(List<Long> values) {
            addCriterion("create_by not in", values, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByBetween(Long value1, Long value2) {
            addCriterion("create_by between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateByNotBetween(Long value1, Long value2) {
            addCriterion("create_by not between", value1, value2, "createBy");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNull() {
            addCriterion("is_deleted is null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIsNotNull() {
            addCriterion("is_deleted is not null");
            return (Criteria) this;
        }

        public Criteria andIsDeletedEqualTo(Boolean value) {
            addCriterion("is_deleted =", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotEqualTo(Boolean value) {
            addCriterion("is_deleted <>", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThan(Boolean value) {
            addCriterion("is_deleted >", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted >=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThan(Boolean value) {
            addCriterion("is_deleted <", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("is_deleted <=", value, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedIn(List<Boolean> values) {
            addCriterion("is_deleted in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotIn(List<Boolean> values) {
            addCriterion("is_deleted not in", values, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted between", value1, value2, "isDeleted");
            return (Criteria) this;
        }

        public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_deleted not between", value1, value2, "isDeleted");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}